package com.sl.au.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;
import com.sl.au.entity.ContractInfo;

/**
 * 
 * @author XH
 *
 */
@Transactional(readOnly = true)
public interface ContractInfoRepository extends JpaRepository<ContractInfo, String> {

	@Query("select c from ContractInfo c where c.supplierCode=? ")
	ContractInfo findBySupplierCode(String SupplierCode);
	
	

}
